﻿@model IEnumerable<erpIngesup.Models.COURS>

@{
    ViewBag.Title = "Consulter";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript" src="~/Scripts/timePicker.js"></script>
<script type="text/javascript" src="~/Scripts/scriptAgenda.js"></script>
<h2>Consulter</h2>

<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.ID_MOD)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.IDSALLE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LOGINPERS)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_DBT)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_FIN)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ID_MOD)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.IDSALLE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LOGINPERS)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_DBT)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_FIN)
        </td>
    </tr>
}
</table>

Date de début<input id="date_dbt" type="text" class="datepicker"/>
Date de fin<input type="text" id="date_fin" class="datepicker"/>